package org.springblade.modules.repair.vo.statistics;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Description 保养统计-工单评分明细
 * @Author ysq
 * @Date 2022/9/26
 **/
@Data
public class OrderScoreDetailCharVO {

	@ApiModelProperty(value = "名称")
	private String name;

	@ApiModelProperty(value = "平均分")
	private BigDecimal divScore;

	@ApiModelProperty(value = "0-60分")
	private long value1;

	@ApiModelProperty(value = "60-80分")
	private long value2;

	@ApiModelProperty(value = "80-100分")
	private long value3;

	@ApiModelProperty(value = "100分以上")
	private long value4;

	public BigDecimal getDivScore() {
		if (this.divScore == null) {
			this.divScore = BigDecimal.ZERO;
		}
		return divScore;
	}
}
